$OpenBSD: patch-tests_test_run_py,v 1.1 2016/01/07 17:16:21 shadchin Exp $
--- tests/test_run.py.orig	Wed Dec 30 00:53:46 2015
+++ tests/test_run.py	Wed Dec 30 00:54:33 2015
@@ -69,7 +69,7 @@ class RunFuncTestCase(PexpectTestCase.PexpectTestCase)
         super(RunFuncTestCase, self).tearDown()
 
     def test_run_exit(self):
-        (data, exitstatus) = self.runfunc('python exit1.py', withexitstatus=1)
+        (data, exitstatus) = self.runfunc('${MODPY_BIN} exit1.py', withexitstatus=1)
         assert exitstatus == 1, "Exit status of 'python exit1.py' should be 1."
 
     def test_run(self):
